<?php

namespace app\common\model;

use think\Db;
use think\Model;

class PageCategory extends Model
{
    /**
     * 分类下的文章
     * @return \think\model\relation\HasMany
     */
    public function article()
    {
        return $this->hasMany('PageArticle');
    }
}
